package businesslogicservice;
import java.rmi.*;
import java.sql.*;

import po.*;

public interface UserBLService extends Remote{
	public boolean login(String username, String password) throws RemoteException,SQLException;	
	public void addUser(String username, String password, String name, UserRole role) throws RemoteException,SQLException;
	public void updateUser(String username, String password, String name, UserRole role) throws RemoteException,SQLException;
	public UserPO findUser(String username) throws RemoteException,SQLException;
	public void deleteUser(String username) throws RemoteException,SQLException;
	public void logout(String username) throws RemoteException,SQLException;
}
